diff options
| author | Adam Soltys <[email protected]> | 2022-08-01 22:17:25 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2022-08-01 22:17:25 -0700 |
| commit | 3294635775ecfdde539adcc38007418f3d5bf3f2 (patch) | |
| tree | a03ccc81dd75e706e14566f26e933d6327d38249 /src/routes/invoice/[id].js | |
| parent | ae13eff44556d74b904a6ef516d2e83412667307 (diff) | |
| download | coinos-ui-3294635775ecfdde539adcc38007418f3d5bf3f2.tar.gz coinos-ui-3294635775ecfdde539adcc38007418f3d5bf3f2.zip | |
update invoice paid status
Diffstat (limited to 'src/routes/invoice/[id].js')
| -rw-r--r-- | src/routes/invoice/[id].js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/routes/invoice/[id].js b/src/routes/invoice/[id].js index bba1693c..a58d02a1 100644 --- a/src/routes/invoice/[id].js +++ b/src/routes/invoice/[id].js @@ -5,9 +5,10 @@ export async function GET({ params }) { let { amount, rate, + status, text, user: { username } } = await get(`/invoice?uuid=${id}`); - return { body: { amount, rate, username, text } }; + return { body: { amount, id, rate, username, status, text } }; } |
